package com.xinhe.web.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Entity
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "自提点门店详情")
@Table(name = "tb_shop")
public class Shop {
    @Id
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("图标")
    private String iconPath;
    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("电话")
    private String telephone;
    @ApiModelProperty("省")
    private String province;
    @ApiModelProperty("市")
    private String city;
    @ApiModelProperty("区")
    private String area;
    @ApiModelProperty("详细地址")
    private String detail;
    @ApiModelProperty("经度")
    private String longitude;
    @ApiModelProperty("纬度")
    private String latitude;
    @ApiModelProperty("门店负责人userId")
    private Long userId;
    @ApiModelProperty("地址")
    private String address;

}
